package com.woniuxy.service;

import com.woniuxy.entity.Perm;
import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.entity.Role;

public interface RoleService {
    ResponseEntity addRole(Role role);

    ResponseEntity delet(int id);

    ResponseEntity update(Role role);

    ResponseEntity findAll();

    ResponseEntity addPerm(int permid, int roleid);

    ResponseEntity findUserRole(int id);

    ResponseEntity findRole(int id);
}
